package com.eliza.client.cmd.grpc


import io.grpc.Server
import io.grpc.ServerBuilder

/**
 * Greeter, uses first argument as name to greet if present;
 * greets "world" otherwise.
 */
fun main(args: Array<String>) {
    HelloWorldService()
    val server: Server = ServerBuilder.forPort(8000)
        .addService(HelloWorldService())
        .build()
    server.start()
}